Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Amend SIMD-15 with latest labs implementation details #116

Closed
wants to merge 1 commit into from

Conversation

jstarry
Copy link
Contributor

@jstarry jstarry commented Jan 28, 2024

The labs implementation diverged from the initial SIMD 15 proposal so this change amends that proposal to reflect the labs implementation.


### Reward Distribution Snapshot State

An additional field `epoch_rewards_status` will be added to serialized bank
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe it is worth emphasizing that epoch_rewards_status are of type option. Thats means only snapshots, which are taken during reward period, store the fulllist of stake rewards. . For snapshots that are taken outside of reward period, we don't need to store the rewards.

Copy link
Contributor

@HaoranYi HaoranYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good to me.

@jstarry
Copy link
Contributor Author

jstarry commented Feb 19, 2024

Closed in favor of #118

@jstarry jstarry closed this Feb 19, 2024
@jstarry jstarry deleted the amend-simd-15 branch February 19, 2024 09:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants